Skip to content

Conversation

@Le-Caignec
Copy link
Contributor

@Le-Caignec Le-Caignec commented Nov 7, 2025

  • Removed doc pre-commit hook
  • Added new scripts for checking code formatting and documentation.
  • Updated GitHub Actions workflow to include formatting and documentation checks.

…tions

- Removed husky and lint-staged from package.json and package-lock.json.
- Added new scripts for checking code formatting and documentation.
- Updated GitHub Actions workflow to include formatting and documentation checks.
- Cleaned up package-lock.json by removing unused dependencies.
@Le-Caignec Le-Caignec self-assigned this Nov 7, 2025
Copilot AI review requested due to automatic review settings November 7, 2025 13:32
@Le-Caignec Le-Caignec changed the title chore: Update dependencies and remove husky and lint-staged configura… feat/remove-precommit-hooks-move-to-ci Nov 7, 2025
@Le-Caignec Le-Caignec changed the title feat/remove-precommit-hooks-move-to-ci feat: remove precommit hooks & move to ci Nov 7, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes Husky and lint-staged git hooks in favor of CI-based checks for code formatting and documentation updates. The changes migrate pre-commit checks (code formatting via prettier and documentation generation) to GitHub Actions workflow steps, ensuring consistency and reducing local development dependencies.

Key changes:

  • Removed husky and lint-staged dependencies and configuration
  • Added check-format script to verify prettier formatting without modifying files
  • Added check-doc script to verify documentation is up-to-date
  • Integrated both checks into the CI workflow

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
package.json Removed husky prepare script, lint-staged config, added check-format and check-doc scripts
package-lock.json Removed husky, lint-staged and their transitive dependencies
.husky/pre-commit Deleted git hook file that ran lint-staged and conditional doc generation
.github/workflows/main.yml Added format checking and documentation verification steps to CI pipeline

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link

codecov bot commented Nov 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.53%. Comparing base (d0bc2be) to head (f2c125d).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #320   +/-   ##
=======================================
  Coverage   96.53%   96.53%           
=======================================
  Files          32       32           
  Lines        1069     1069           
  Branches      213      199   -14     
=======================================
  Hits         1032     1032           
  Misses         37       37           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Le-Caignec Le-Caignec merged commit eb0c845 into main Nov 12, 2025
5 checks passed
@Le-Caignec Le-Caignec deleted the feat/remove-precommit-hooks-move-to-ci branch November 12, 2025 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants